export interface UserResultItem {
  cardId?: string;
  code?: string;
  deptId?: string;
  deptName?: string;
  id?: number;
  phone?: string;
  remark?: string;
  roleNames?: string;
  sex?: string;
  username?: string;
  tenantIds?: number[];
}
export interface UserData {
  total?: number;
  list?: UserResultItem[];
}
export interface UserResult {
  code?: number;
  data: UserData;
}
interface TenantObj {
  authToken: null | string;
  id: number;
  token: string;
}
interface User {
  phone: number;
  remark: string;
  sex: number;
  url: null | string;
  username: string;
}
export interface UserResultDetails {
  code?: number;
  data: {
    deptId?: number;
    tenantList?: TenantObj[];
    user?: User;
  };
}
// 入参
export interface UserParams extends API.PageParams, API.CurrentParams {
  name?: string;
  includeContainedAreaTypes?: boolean;
}
